package cn.kgc.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author wangyue
 * @version 1.0
 */
@Data
@ApiModel(value = "修改用户信息表单")
public class UsersUpdateForm {
    /**
     * 主键
     */
    @ApiModelProperty(name = "id", value = "主键", dataType = "string")
    private String id;

    /**
     * 手机号
     */
    @ApiModelProperty(name = "mobile", value = "手机号", dataType = "java.lang.String")
    private String mobile;

    /**
     * 昵称
     */
    @ApiModelProperty(name = "nickname", value = "昵称", dataType = "java.lang.String")
    private String nickname;

    /**
     * 真实姓名
     */
    @ApiModelProperty(name = "real_name", value = "真实姓名", dataType = "java.lang.String")
    private String realName;

    /**
     * 对外展示名，1：真实姓名，2：昵称
     */
    @ApiModelProperty(name = "show_which_name", value = "对外展示名，1：真实姓名，2：昵称", dataType = "java.lang.Integer")
    private Integer showWhichName;

    /**
     * 性别，1:男 0:女 2:保密
     */
    @ApiModelProperty(name = "sex", value = "性别，1:男 0:女 2:保密", dataType = "java.lang.Integer")
    private Integer sex;

    /**
     * 用户头像
     */
    @ApiModelProperty(name = "face", value = "用户头像", dataType = "java.lang.String")
    private String face;

    /**
     * 邮箱
     */
    @ApiModelProperty(name = "email", value = "邮箱", dataType = "java.lang.String")
    private String email;

    /**
     * 生日
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(name = "birthday", value = "生日", dataType = "java.util.Date")
    private Date birthday;

    /**
     * 省份
     */
    @ApiModelProperty(name = "province", value = "省份", dataType = "java.lang.String")
    private String province;

    /**
     * 城市
     */
    @ApiModelProperty(name = "city", value = "城市", dataType = "java.lang.String")
    private String city;

    /*
     * 区县
     */
    @ApiModelProperty(name = "district", value = "区县", dataType = "java.lang.String")
    private String district;

    /**
     * 介绍
     */
    @ApiModelProperty(name = "description", value = "介绍", dataType = "java.lang.String")
    private String description;

    /**
     *我参加工作的时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(name = "start_work_date", value = "我参加工作的时间", dataType = "java.util.Date")
    private Date startWorkDate;

    /**
     * 我当前职位/职务
     */
    @ApiModelProperty(name = "position", value = "我当前职位/职务", dataType = "java.lang.String")
    private String position;

    /**
     * 我的一句话签名
     */
    @ApiModelProperty(name = "hr_signature", value = "我的一句话签名", dataType = "java.lang.String")
    private String hrSignature;

    /**
     * 我的个性化标签
     */
    @ApiModelProperty(name = "hr_tags", value = "我的个性化标签", dataType = "java.lang.String")
    private String hrTags;
}
